package com.gallop.common.reliable;

import java.util.Collection;

public interface ReliableDeliveryStrategy {

    boolean handleBeforeSend(String topic, String id, Object message, Collection<String> listeners);

    boolean handleBeforeAck(String topic, String group, String id, Object message);
}
